<%@page import="entity.Area"%>
<%@page import="java.util.List"%>
<%@page import="biz.impl.AreaBizImpl"%>
<%@page import="biz.AreaBiz"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
    
    <%
    AreaBiz biz = new AreaBizImpl();
    List<Area> list = biz.findAllArea();
    
    
    %>
    
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
	
	
	<table>
		<tr>
			<td>编号</td>
			<td>地名</td>
		</tr>
		<%
		
		for(Area a:list){
		%>
		<tr>
			<td>
			<%=a.getId() %>
			</td>
			<td>
				<%=a.getName() %>
			</td>
			<td>
				<a href="doDeleteProvince.jsp?id=<%=a.getId() %>">删除</a>
			</td>
		</tr>
		<%
		}
		%>
	</table>
	
	
	
	
	
</body>
</html>